package com.xusheng.cli.req;

import cn.hutool.core.date.DatePattern;
import com.xusheng.cli.common.base.BaseRequest;
import com.xusheng.cli.entity.frontUserModule.FrontUser;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author lyh
 * @since 2023-04-26 15:44
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class FrontUserQueryReq extends BaseRequest<FrontUser> {

    private static final long serialVersionUID = 1763894098491400302L;
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private LocalDate startTime;
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private LocalDate endTime;
    private String account;
    private Integer proxyLevel;
    private String host;

}
